<?php
/**
 * 人才model
 * User: guojing
 * Date: 2020/4/11
 * Time: 14:16
 */

namespace app\admin\model;

use think\Model;

class Category extends Model
{

    // 表名
    protected $name = 'category';

    public static function findInfoByCondition($condition = [])
    {
        return self::where($condition)->find();
    }

    public static function findListByCondition($condition = [])
    {
        return self::where($condition)->select();
    }

}